//
//  LCPatientModel.h
//  cloudCall
//
//  Created by zhang on 2021/11/1.
//

#import <CloudCallBaseFrame/CommonFrame.h>

NS_ASSUME_NONNULL_BEGIN


@interface LCPatientActionModel : LCModel

@property (nonatomic, strong)NSString *name;
@property (nonatomic, strong)NSString *iconUrl;
// 0 呼入、呼出都显示， 1 呼入显示，  2呼出显示
@property (nonatomic, assign)NSInteger type;
@property (nonatomic, strong)NSDictionary *eventData; // 事件内容

@end

@interface LCPatientModel : LCModel

@property (nonatomic, strong)NSString *id;
@property (nonatomic, strong)NSString *name;
@property (nonatomic, strong)NSString *phone;
@property (nonatomic, strong)NSString *birthDate;
@property (nonatomic, assign)NSInteger age;
@property (nonatomic, strong)NSString *gender;
@property (nonatomic, strong)NSString *avatarUrl;
@property (nonatomic, strong)NSString *emrNo;
/// 当前选中
@property (nonatomic, assign)NSInteger isSelected;
@end

@interface LCSaasUserModel : LCModel

@property (nonatomic, strong)NSString *saasToken;
@property (nonatomic, strong)NSString *tenantId;
@property (nonatomic, strong)NSString *tenantName;
@property (nonatomic, strong)NSString *officeId;
@property (nonatomic, strong)NSString *officeName;
@property (nonatomic, strong)NSString *userId;
@property (nonatomic, strong)NSString *env;

@end

@interface LCBaseConfigModel : LCModel

///是否开通云呼
@property (nonatomic, assign)BOOL checkTenantOpenAccount;
/// 是否配置坐席
@property (nonatomic, assign)BOOL checkClinicOpenAccount;
/// 账号
@property (nonatomic, strong)NSString *account;
/// 密码
@property (nonatomic, strong)NSString *password;
///  云呼websocket服务地址
@property (nonatomic, strong)NSString *callServerUrl;
/// 坐席状态
@property (nonatomic, assign)NSInteger state;
/// 是否需要自动登陆
@property (nonatomic, assign)BOOL autoLogin;
/// 云呼scrm网络请求api接口host
@property (nonatomic, strong)NSString *apiServerUrl;
/// 云呼scrmh5 url
@property (nonatomic, strong)NSString *callRecordsH5Url;
/// saas 用户信息
@property (nonatomic, strong)LCSaasUserModel *user;
/// 操作事件
@property (nonatomic, strong)NSArray<LCPatientActionModel *> *actionItems;

@end


@interface LCSCRMPatientModel : LCModel

@property (nonatomic, strong)NSString *customerId;
@property (nonatomic, strong)NSString *customerName;
@property (nonatomic, strong)NSArray<NSString *> *phone;
@property (nonatomic, strong)NSString *birthday;
@property (nonatomic, assign)NSInteger age;
@property (nonatomic, assign)NSInteger gender;
@property (nonatomic, strong)NSString *customerImgUrl;
@property (nonatomic, strong)NSString *customerNumber;

@end


NS_ASSUME_NONNULL_END
